package cn.like;

import cn.dev33.satoken.sso.SaSsoHandle;
import cn.dev33.satoken.stp.StpUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.net.UnknownHostException;

/**
 * desc: 授权应用程序 <br>
 *
 * @author like 980650920@qq.com
 * @date 2021-07-07 12:49:01
 */
@SpringBootApplication
@EnableAsync
@EnableFeignClients
@EnableDiscoveryClient
@EnableAspectJAutoProxy
@MapperScan("cn.like.backEnd.*.mapper")
public class AdminApplication {

    public static void main(String[] args) throws UnknownHostException {
        final ConfigurableApplicationContext context = SpringApplication.run(AdminApplication.class, args);
    }
}
